import longpress from "./longTime";
import { App } from "vue";

const directivesList:any= {
    longpress,
  }


const directives = {
    install: function (app: App<Element>) {
        Object.keys(directivesList).forEach(key => {
            // 注册自定义指令
            app.directive(key, directivesList[key]);
        });
    }
};

export default directives
